package com.aydx.remotevaluezookeeper.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "com.aydx.zkvalue.zookeeper")
public class ZkValueZookeeperProperties {
    private String url;
    //重连次数
    private Integer retryConnectionTimes=1000000000;
    //重连时间间隔
    private Integer sleepMsBetweenRetries=1000;
    //会话过期时间
    private Integer timeout=60000;
    //链接超时时间
    private Integer connectionTimeout=5000;

    private String basename=null;

}
